package demo2;

public class Aminal {

    public String name;
    public int age;

    public void eat(){
        System.out.println(this.name + " 在吃饭.....");
    }

    public Aminal(String name, int age) {
        this.name = name;
        this.age = age;
    }
}
